import axios from 'axios';

const Util = {
  apiPath: 'http://127.0.0.1:8010/'
};

Util.ajax = axios.create({
  baseURL: Util.apiPath
});

Util.ajax.interceptors.response.use(res => {
  return res.data;
});

export default Util;
